<admintpl file="header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:U('Admin/AppUser/index')}">用户列表</a></li>
			<li><a href="{:U('Admin/AppUser/add')}">添加用户</a></li>
			<li class="active"><a>修改用户</a></li>
		</ul>
		<form method="post" class="form-horizontal js-ajax-form" action="{:U('Admin/AppUser/edit_post')}">
				<div class="control-group">
					<label class="span1 control-label" style="width: 80px;">手机号：</label>
					<div class="span3">
						<input type="text" readonly name="mobile" value="{$mobile}">
					</div>
					<label class="span1 control-label" style="width: 80px;">姓名：</label>
					<div class="span3">
						<input type="text" name="realname" value="{$realname}">
					</div>
				</div>
				<div class="control-group">
					<label class="span1 control-label" style="width: 80px;">车型：</label>
					<div class="span3">
						<input type="text" name="car" value="{$car}">
					</div>
					<label class="span1 control-label" style="width: 80px;">城市：</label>
					<div class="span3">
						<select class="form-control" id="city" name="city" >
							<foreach name="city_list" item="vo">
								<option value="{$vo['city']}">{$vo['city']}</option>
							</foreach>
						</select>
					</div>
				</div>
				<div class="control-group">
					<label class="span1 control-label" style="width: 80px;">CSS会员：</label>
					<div class="span3" style="padding-top:3px;">
						<label class="span1 radio" style="width: 26px;">
						  <input type="radio" name="css_status" value="0" <if condition="$css_status eq 0"> checked </if> />
						  否
						</label>
						<label class="span1 radio" style="width: 26px;">
						  <input type="radio" name="css_status" value="1" <if condition="$css_status eq 1"> checked </if> />
						  是
						</label>
					</div>
					<label class="span1 control-label" style="width: 80px;">在线申请：</label>
					<div class="span3" style="padding-top:3px;">
						<label class="span1 radio" style="width: 26px;">
						  <input type="radio" disabled="disabled" name="online_status" value="0" <if condition="$online_status eq 0"> checked </if> />
						  否
						</label>
						<label class="span1 radio" style="width: 26px;">
						  <input type="radio" disabled="disabled" name="online_status" value="1" <if condition="$online_status eq 1"> checked </if> />
						  是
						</label>
					</div>
				</div>
				<div class="control-group">
					<label class="span1 control-label" style="width: 80px;">备注：</label>
					<div class="span7">
						<textarea name="remark" rows="3" style="width: 546px;">{$remark}</textarea>
					</div>
				</div>
			<div class="form-actions" style="padding-left:260px;">
				<input type="hidden" name="user_id" value="{$user_id}" />
				<button type="submit" class="btn btn-primary js-ajax-submit">保存</button>
				&nbsp;&nbsp;<a class="btn" href="{:U('Admin/AppUser/index')}">{:L('BACK')}</a>
			</div>
		</form>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
<script>
	$('#city').val('{$city}');
</script>
</body>
</html>